package com.wjs.spring.bean;

import org.springframework.stereotype.Component;

@Component
public class Service {
    public void generate(){
        System.out.println("订单正在生成");
//        if(1==1){
//            throw new RuntimeException("运行时异常");
//        }
    }
}
